package com.jiyi.activity.datainput;

import android.os.Bundle;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import com.swift.base.ActivityBase;
import com.swift.maintenance.R;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * Created by Administrator on 2018/3/20.
 */

public class DataInputPingChaMemberActivity extends ActivityBase {
    /* 头部 */
    @BindView(R.id.tvBack)
    TextView tvBack;
    @BindView(R.id.tvTitle)
    TextView tvTitle;
    @BindView(R.id.tvSearch)
    TextView tvSearch;
    @BindView(R.id.etJSFZR)
    EditText etJSFZR;
    @BindView(R.id.etJSFZRZCZSH)
    EditText etJSFZRZCZSH;
    @BindView(R.id.etJSFZRZCH)
    EditText etJSFZRZCH;
    @BindView(R.id.etXMFZR)
    EditText etXMFZR;
    @BindView(R.id.etXMFZRZCZSH)
    EditText etXMFZRZCZSH;
    @BindView(R.id.etXMFZRZCH)
    EditText etXMFZRZCH;
    @BindView(R.id.etPCRYOne)
    EditText etPCRYOne;
    @BindView(R.id.etPCRYOneZCZSH)
    EditText etPCRYOneZCZSH;
    @BindView(R.id.etPCRYOneZCH)
    EditText etPCRYOneZCH;
    @BindView(R.id.etPCRYTwo)
    EditText etPCRYTwo;
    @BindView(R.id.etPCRYTwoZCZSH)
    EditText etPCRYTwoZCZSH;
    @BindView(R.id.etPCRYTwoZCH)
    EditText etPCRYTwoZCH;
    @BindView(R.id.etPCRYThree)
    EditText etPCRYThree;
    @BindView(R.id.etPCRYThreeZCZSH)
    EditText etPCRYThreeZCZSH;
    @BindView(R.id.etPCRYThreeZCH)
    EditText etPCRYThreeZCH;
    @BindView(R.id.etPCRYFour)
    EditText etPCRYFour;
    @BindView(R.id.etPCRYFourZCZSH)
    EditText etPCRYFourZCZSH;
    @BindView(R.id.etPCRYFourZCH)
    EditText etPCRYFourZCH;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_data_input_ping_cha_member);
        ButterKnife.bind(this);
        init();
    }

    /**
     * @desc
     * @author hym
     * @createDate 2018/1/17 15:48
     */
    private void init() {
        setTop();
        getData();
    }

    private void setTop() {
        tvTitle.setText("评查组成员");
        tvSearch.setCompoundDrawables(null, null, null, null);
        tvSearch.setText("保存");
    }

    //获取已经保存的数据
    public void getData() {

    }

    //提交保存
    public void post() {

    }

    @OnClick({R.id.tvBack, R.id.tvSearch})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.tvBack:
                finish();
                break;
            case R.id.tvSearch:
                post();
                break;
        }
    }
}
